//
//  DropShadowView.m
//  Fangmm
//
//  Created by 阮琦 on 16/1/29.
//  Copyright © 2016年 com.fangmm. All rights reserved.
//

#import "DropShadowView.h"

@implementation DropShadowView

- (void)drawRect:(CGRect)rect {
    self.layer.shadowOffset = CGSizeZero;
    self.layer.shadowOpacity = 0.7f;
    //self.layer.shadowColor = [[UIColor lightGrayColor]CGColor];
    UIBezierPath *shadowPath = [UIBezierPath bezierPathWithRect:self.bounds];
    self.layer.shadowPath = shadowPath.CGPath;
}

@end
